import request from '@/utils/request'

export function getBaseData(url,params){
    return request.get(url,{params})
}

export function getBaseDataS(url,params){
    return request.get(url+params)
}

export function saveData(url,data){
    return request.post(url,data)
}

export function deleteData(url,params){
    return request.delete(url+params)
}

export function deleteDataS(url,params){
    return request.delete(url,{params})
}